package net.zhengxinyun.performance.service.workSupervision;

import net.zhengxinyun.performance.dto.ExcelDTO;
import net.zhengxinyun.performance.entity.WorkSupervisionEntity;
import net.zhengxinyun.performance.filter.WorkSupervisionFilter;
import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;
import java.util.List;

/**
 * Created by hyp1202 on 2018/12/12.
 */
public interface WorkSupervisionService {
    String insert(WorkSupervisionEntity workSupervisionEntity);

    String delete(WorkSupervisionEntity workSupervisionEntity);

    String update(WorkSupervisionEntity workSupervisionEntity);

    List<WorkSupervisionFilter> query(WorkSupervisionFilter filter);

    Integer queryForCount(WorkSupervisionFilter filter);

    String setPoint(WorkSupervisionEntity workSupervisionEntity);

    String importData(MultipartFile file);

    HashMap<String,Object> importPoint(MultipartFile file);

    int batchSaveWorkIndexs(List<ExcelDTO> list);




}
